import path from 'path';

export default defineAppConfig({
  entryPagePath: 'pages/home/index',
  pages: [
    'pages/home/index', 
    "pages/mine/index"
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    // custom: true,
    color: '#666',
    selectedColor: '#ff4d4f',
    backgroundColor: '#fff',
    borderStyle: 'black',
    list: [
        {
            pagePath: 'pages/home/index',
            text: '首页',
            // iconPath: path.join(__dirname, '../assets/icons/home.svg'),
            // selectedIconPath: path.join(__dirname, '../assets/icons/home_selected.svg')
        },
        {
            pagePath: 'pages/mine/index',
            text: '个人',
            // iconPath: path.join(__dirname, '../assets/icons/mine.svg'),
            // selectedIconPath: path.join(__dirname, '../assets/icons/mine_selected.svg')
        },
    ]
  }
});